Download this file

44 lines (32 with data), 1.8 kB

// This file contains a set of auxillary drivers. They are usefull/necessary
// in some cases where the marker protocol doesn't provide enough information
// to specify all degrees of freedom. Hence, these drivers complement a
// specific driver protocol. Many of these drivers are soft, and an only serve
// to stabalize the solver in postures where the markers doesn't provide unique
// kinematic solution. 

AnyFolder ExtraDrivers = {

  #ifdef  REFERENCE_TRIAL
     #include "GroundDrivers.any"
  #endif
  
  
  // --------------------------------------------------------------------------
  // The BM_MANNEQUIN drivers are used to support the degrees of freedom where
  // the markers do not provide enough information. 
  // See this file for options: #include "<ANYBODY_PATH_BODY>\Documentation\BodyModel.parameters.any"
  // --------------------------------------------------------------------------
  #define BM_MANNEQUIN_DRIVER_DEFAULT OFF
  #define BM_MANNEQUIN_DRIVER_WEAK_SWITCH OFF
  
  #define BM_MANNEQUIN_DRIVER_NECK ON

  #ifdef REFERENCE_TRIAL
     #define BM_MANNEQUIN_DRIVER_PELVIS_THORAX_EXTENSION ON
     Main.HumanModel.DefaultMannequinDrivers.PostureDriverExtension.CType = {Soft};
  #endif

//  #define BM_MANNEQUIN_DRIVER_STERNOCLAVICULAR_PROTRACTION_RIGHT ON
//  #define BM_MANNEQUIN_DRIVER_STERNOCLAVICULAR_PROTRACTION_LEFT ON

    
//  #define BM_MANNEQUIN_DRIVER_WRIST_FLEXION_LEFT ON
//  #define BM_MANNEQUIN_DRIVER_WRIST_FLEXION_RIGHT ON
//
//  #define BM_MANNEQUIN_DRIVER_WRIST_ABDUCTION_LEFT ON
//  #define BM_MANNEQUIN_DRIVER_WRIST_ABDUCTION_RIGHT ON
  
  
  // This link to the mannequin drivers ensures they are picked up by the study.
  AnyFolder& MannequinDrivers = Main.HumanModel.DefaultMannequinDrivers;

};